Anillo 3 - OriginalAn interactive fiction by Mel Hython (2009) - the Inform 7 source text | |
Home page Contents Previous Next Complete text | Section 7 - Alimentar (petición de Urba)
Feeding is an action applying to one thing. Understand "alimenta a/al [a thing]" or "alimenta [a thing]" as feeding. Dfeeding is an action applying to two thing. Understand "alimenta a/al [a thing] con/dandole [a thing]" or "alimenta [a thing] con/dandole [a thing]" as dfeeding. Carry out of dfeeding: if the player is the noun: try eating the second noun; otherwise: try giving noun to second noun. Carry out of feeding: if the noun is the player: if the player is icalante and there is a vegetal thing (called verdura) which is carried by the player: try eating verdura; otherwise if the player is an orco and there is a carne thing (called filete) which is carried by the player: try eating filete; otherwise if the player is an orco and there is a cadaver (called muerto) which is carried by the player: try eating muerto; otherwise if there is a edible thing (called comida) which is carried by the player: try eating comida; otherwise: say "¿Con qué?"; otherwise if the noun is lobo: if hueso is carried: try giving hueso to lobo; otherwise if there is a edible thing (called comida) which is carried: try giving comida to lobo; otherwise if there is a cadaver (called cad) which is carried: try giving cad to lobo; otherwise: say "¿Con qué?"; otherwise if the noun is icalante: if goolos is carried: try giving goolos to icalante; otherwise if there is a vegetal thing (called comida) which is carried: try giving comida to icalante; otherwise: say "¿Con qué?"; otherwise: say "No tiene sentido alimentar [al noun].". |